I have
<asp:TextBox ID="txtBidAmmount<%#Eval("id") %>" Width="250" runat="server"></asp:TextBox>
That wouldn't work and I have read some options that I have to replace the " with ', so I did:
<asp:TextBox ID='txtBidAmmount<%#Eval("id") %>' Width="250" runat="server"></asp:TextBox>
But I get:
Parser Error Message: 'txtBidAmmount<%#Eval("id") %>' is not a valid identifier.
Takeshi Okada
12-Dec-2014Output HTML
Anonymous User
12-Dec-2014try this
ID='<%# "txtBidAmmount" + eval("id") %>'
OR
ID='<%# Eval("id", "txtBidAmmount {0}") %>'